package com.zzyboot.web;

import com.zzyboot.config.DBConnector;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by zzy on 2017/10/22.
 */
@Controller
public class UserController {

    @Autowired
    DBConnector dbConnector;
    @RequestMapping("/test")
    public ModelAndView testFile(){
        dbConnector.configure();
        return null;
    }
}
